import types from '../../consts/actionTypes';

const openDialog = (type, component, context, handlers) => ({ type: types.dialog.OPEN_DIALOG, payload: { type, component, context, handlers } });
const closeDialog = () => ({ type: types.dialog.CLOSE_DIALOG });


export default {
    openDialog,
    closeDialog,
};
